package cn.sciento.boot.platform.entity.feign;

import cn.sciento.boot.platform.entity.feign.fallback.EntityRegistFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import cn.sciento.boot.platform.entity.dto.RegistParam;
import cn.sciento.common.STongService;

/**
 * description
 *

 */
@FeignClient(value = STongService.Platform.NAME, contextId = "EntityRegistFeignClient",fallbackFactory = EntityRegistFeignClientFallbackFactory.class)
public interface EntityRegistFeignClient {

    @PostMapping("/v1/entity-tables/register")
     void register(@RequestBody RegistParam param);

}
